import Koa from 'koa'
import { NetWebSocket } from './middleware/ws';


export class Main {
    private app:Koa;
    constructor() {
        this.app = new Koa();
        
        new NetWebSocket(this.app);

        this.app.listen(8080, () => {
            console.log('localhost:8080');
        })
    }


}

new Main();


